package com.example.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserMoneyVo implements Serializable {

    @NotBlank(message = "用户账号不得为空")
    private String userName;

    @NotBlank(message = "金额不得为空")
    private String money;
}
